package com.dc.aimc.common.core.constant;

public class ErrorCode {
    public static int BASE_SERVICE = 5000;
    public static int ADVISER_SERVICE = 6000;
    public static int PLANNER_SERVICE = 7000;
    public static int PROFESSOR_SERVICE = 8000;
    public static int CUSTOMER_SERVICE = 9000;

    public static final int AUTH_INVALID_ACCOUNT = BASE_SERVICE + 1;
    public static final int AUTH_CAPTCHA_UNSUPPORT = BASE_SERVICE + 2;
    public static final int AUTH_CAPTCHA_FREQUENCY = BASE_SERVICE + 3;
    public static final int AUTH_CAPTCHA_UNMATCH = BASE_SERVICE + 4;
    public static final int AUTH_NAME_REGISTERED = BASE_SERVICE + 5;
    public static final int AUTH_MOBILE_REGISTERED = BASE_SERVICE + 6;
    public static final int AUTH_MOBILE_UNREGISTERED = BASE_SERVICE + 7;
    public static final int AUTH_INVALID_MOBILE = BASE_SERVICE + 8;
    public static final int AUTH_OPENID_UNACCESS = BASE_SERVICE + 9;
    public static final int AUTH_OPENID_BINDED = BASE_SERVICE + 10;

    public static final int CAPTCHA_NOT_TOMEOUT_CODE = BASE_SERVICE + 11;
    public static final int CAPTCHA_CODE_ERROR = BASE_SERVICE + 10;

    public static final int ADVISER_SERVICE_NOTBIND_PHONE = ADVISER_SERVICE + 1;
    public static final int ADVISER_SERVICE_NOTADVISER = ADVISER_SERVICE + 2;
    public static final int ADVISER_SERVICE_USER_NOT_EXIST = ADVISER_SERVICE + 3;
    public static final int ADVISER_SERVICE_REPECT = ADVISER_SERVICE + 4;

    public static final int PLANNER_SERVICE_USERNAME_EXIST = PLANNER_SERVICE + 1;
    public static final int PLANNER_SERVICE_PHONENUMBER_EXIST = PLANNER_SERVICE + 2;
    public static final int PLANNER_SERVICE_USER_NOT_EXIST = PLANNER_SERVICE + 3;
    public static final int PLANNER_SERVICE_REPECT = PLANNER_SERVICE + 4;

    public static final int CUSTOMER_SERVICE_PHONENUMBER_EXIST = CUSTOMER_SERVICE + 2;
    public static final int CUSTOMER_SERVICE_USER_NOT_EXIST = CUSTOMER_SERVICE + 3;
    public static final int CUSTOMER_SERVICE_REPECT = CUSTOMER_SERVICE + 4;

    public static final int PROFESSOR_SERVICE_USERNAME_EXIST = PROFESSOR_SERVICE + 1;
    public static final int PROFESSOR_SERVICE_PHONENUMBER_EXIST = PROFESSOR_SERVICE + 2;
    public static final int PROFESSOR_SERVICE_USER_NOT_EXIST = PROFESSOR_SERVICE + 3;
    public static final int PROFESSOR_SERVICE_REPECT = PROFESSOR_SERVICE + 4;

}
